home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-25 | 1.0 KB | 37 lines | [TEXT/MPS ] |
- #
- # CWBuildExtras [NoExamples]
- #
- # Builds all SOM files. This is meant to be used for CodeWarrior IDE builds only.
- # Since the SOM files are stored in the sources folder, we can just specify PPC Debug
- # and they'll get built for everything.
-
- if {ODF} == ""
- Beep
- Beep
- Echo "### You have not installed the 'UserStartup•ODF' file (or 'UserStartupTS•ODF' for ToolServer)."
- Echo "### Please do so before continuing. Those files are located in the 'MPW-ToolServer Additions'"
- Echo "### folder inside the ODFDev folder. Don't forget to relaunch MPW (or ToolServer)."
- exit
- end
-
- Set Examples 1
-
- For item in {"Parameters"}
- if {item} == NoExamples
- Set Examples 0
- else
- Echo "CWBuildSOM [NoExamples]"
- exit
- end
- End
-
- "{ODF}SLPPCDebug:BuildExtras" MetroWerks SOM
- "{ODF}CWPPCDebug:BuildExtras" MetroWerks SOM
-
- if {Examples} == 1
- For example In Bitmap Button Clock Container Draw Embed Form Hello Nothing Table
- Directory "{ODFDev}{example}:CWPPCDebug:"
- FWBuild -Metrowerks "{ODFDev}{example}:Sources:ODF{example}.SOM"
- End
- End
-